package cn.cs.mapper;

import cn.cs.pojo.CsAgentShop;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface CsAgentShopMapper {
    public CsAgentShop getAgentShopById(@Param(value = "id") String id)throws Exception;

    public List<CsAgentShop> getAgentShopListByMap(Map<String,Object> param)throws Exception;

    public Integer getAgentShopCountByMap(Map<String,Object> param)throws Exception;

    public Integer insertAgentShop(CsAgentShop csAgentShop)throws Exception;

    public Integer updateAgentShop(CsAgentShop csAgentShop)throws Exception;

    public Integer deleteAgentShopById(@Param(value = "id") Long id)throws Exception;
}
